package cn.kgc.demo.service.impl;

import cn.kgc.demo.entity.Student;
import cn.kgc.demo.mapper.StudentMapper;
import cn.kgc.demo.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Resource
    private StudentMapper studentMapper;
    @Override
    public List<Student> seletctStudent() {
        return studentMapper.selectStudent();
    }
}
